package com.zr.sparesubclass.service;

import com.zr.sparesubclass.bean.LegalPerson;
import com.zr.sparesubclass.model.AddPlantVo;
import com.zr.sparesubclass.model.PlantQueryVo;
import com.zr.sparesubclass.model.UpdateEnabledVo;
import com.zr.util.AllRecords;
import com.zr.util.ResultVO;

import java.util.List;

public interface PlantService {
    ResultVO<List<LegalPerson>> findLegalPersonByUserId(int i);

    ResultVO<AllRecords> legalQueryVo(PlantQueryVo plantQueryVo);

    ResultVO<UpdateEnabledVo> updatestatus(UpdateEnabledVo updateEnabledVo);

    ResultVO<AddPlantVo> add(AddPlantVo addPlantVo);

    ResultVO<AddPlantVo> update(AddPlantVo addPlantVo);
}
